<?php
/**
 * Created by lzl
 * Date: 2021 2021/8/27
 * Time: 14:33
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class BaseModels extends Model
{
    const UPDATED_AT = 'update_at';

    const DELETED_AT = 'delete_at';

    const CREATED_AT = 'create_at';

    use Page;

    protected function serializeDate(\DateTimeInterface $date)
    {
        return $date->format('Y-m-d H:i:s');
    }


}